/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package chapter5.behavioral.chainofresponsibility;

/**
 *
 * @author ASUS
 */
public abstract class PlanetHandler {
    PlanetHandler successor;
    
    public void setSuccessor(PlanetHandler successor)
    {
        this.successor = successor;
    }
    
    public abstract void handleRequest(PlanetHandler request);
}
